package cn.magictodo.weblog.admin.event;

/**
 * @author liu
 * @since 2023-12-11 20:34
 * 事件添加
 */
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class PublishArticleEvent extends ApplicationEvent {


    /**
     * 文章 ID
     */
    private Long articleId;

    public PublishArticleEvent(Object source, Long articleId) {
        super(source);
        this.articleId = articleId;
    }
}